package com.platform.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 发币配置类实体
 * 表名 t_income_coin_config
 *
 * @author lipengjun
 * @email 939961241@qq.com
 * @date 2019-02-02 02:05:50
 */
public class IncomeCoinConfigEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
    //币数量
    private BigDecimal value;
    //规则
    private String rule;
    //普通倍数
    private BigDecimal multiple;
    //0关闭1启用
    private Integer status;
    //类型1注册2普通兑换3购买反链4done兑换
    private Integer type;
    //done0不是1是
    private Integer done;
    //最短距离
    private BigDecimal minLength;
    //最长距离
    private BigDecimal maxLength;
    //最大数量
    private BigDecimal maxNum;
    private BigDecimal minNum;
    private BigDecimal num;
    //创建日期
    private Date createdDate;

    /**
     * 设置：
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取：
     */
    public Long getId() {
        return id;
    }
    /**
     * 设置：币数量
     */
    public void setValue(BigDecimal value) {
        this.value = value;
    }

    /**
     * 获取：币数量
     */
    public BigDecimal getValue() {
        return value;
    }
    /**
     * 设置：规则
     */
    public void setRule(String rule) {
        this.rule = rule;
    }

    public BigDecimal getMinNum() {
        return minNum;
    }

    public void setMinNum(BigDecimal minNum) {
        this.minNum = minNum;
    }

    public BigDecimal getNum() {
        return num;
    }

    public void setNum(BigDecimal num) {
        this.num = num;
    }

    /**
     * 获取：规则
     */
    public String getRule() {
        return rule;
    }
    /**
     * 设置：普通倍数
     */
    public void setMultiple(BigDecimal multiple) {
        this.multiple = multiple;
    }

    /**
     * 获取：普通倍数
     */
    public BigDecimal getMultiple() {
        return multiple;
    }
    /**
     * 设置：0关闭1启用
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getDone() {
        return done;
    }

    public void setDone(Integer done) {
        this.done = done;
    }

    /**
     * 获取：0关闭1启用
     */
    public Integer getStatus() {
        return status;
    }
    /**
     * 设置：类型1注册2普通兑换3购买反链4done兑换
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * 获取：类型1注册2普通兑换3购买反链4done兑换
     */
    public Integer getType() {
        return type;
    }

    /**
     * 设置：最短距离
     */
    public void setMinLength(BigDecimal minLength) {
        this.minLength = minLength;
    }

    /**
     * 获取：最短距离
     */
    public BigDecimal getMinLength() {
        return minLength;
    }
    /**
     * 设置：最长距离
     */
    public void setMaxLength(BigDecimal maxLength) {
        this.maxLength = maxLength;
    }

    /**
     * 获取：最长距离
     */
    public BigDecimal getMaxLength() {
        return maxLength;
    }
    /**
     * 设置：最大数量
     */
    public void setMaxNum(BigDecimal maxNum) {
        this.maxNum = maxNum;
    }

    /**
     * 获取：最大数量
     */
    public BigDecimal getMaxNum() {
        return maxNum;
    }
    /**
     * 设置：创建日期
     */
    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    /**
     * 获取：创建日期
     */
    public Date getCreatedDate() {
        return createdDate;
    }
}
